<?php
class Home extends CI_Controller {
	
	function Home() {
		parent::__construct();
	}
	
	function index () {
		$data['main_content'] = 'fe/home';
		$data['page_title'] = 'Trang chủ' ;
		$this->load->view('fe/includes/template', $data);
	}
    
    function register() {
        $data['page_title'] = 'Đăng ký' ;
        $data['main_content'] = 'fe/customer_register_view';
        $this->load->view('fe/includes/template', $data);
    }
    
    function fe_provider() {
        $data['page_title'] = 'Đăng ký' ;
        $data['main_content'] = 'fe/provider_detail_view';
        $this->load->view('fe/includes/template', $data);
    }
	
	function fe_pay() {
		$data['page_title'] = 'Thanh toán' ;
        $data['main_content'] = 'fe/customer_order_view';
        $this->load->view('fe/includes/template', $data);
	}
    
	function fe_pay_info() {
		$data['page_title'] = 'Hóa Đơn';
		$data['main_content'] = 'fe/pay_info';
		$this->load->view('fe/includes/template', $data);
	}
     function fe_best () {
		$data['page_title']  = 'Tốt Nhất';
		$data['main_content'] = 'fe/best_view';
		$this->load->view('fe/includes/template', $data);
	}
	
	function fe_active (){
		$data['page_title']  = 'Kích hoạt';
		$data['main_content'] = 'fe/active_card_view';
		$this->load->view('fe/includes/template', $data);
	}
	
	function fe_register() {
		$data['page_title']  = 'Đăng ký';
		$data['main_content'] = 'fe/register';
		$this->load->view('fe/includes/template', $data);
	}
	
	function fe_where() {
		$data['page_title']  = 'Dùng cardnet Ở Đâu';
		$data['main_content'] = 'fe/where';
		$this->load->view('fe/includes/template', $data);
	}
	
	function fe_what() {
		$data['page_title']  = 'Thẻ CARDnet là gì?';
		$data['main_content'] = 'fe/what';
		$this->load->view('fe/includes/template', $data);
	}
}